<form class="layui-form model-form" action="" style="width:80%;">
	<input name="id" id="id" type="hidden" value="{$info.id|default=0}">
	<div class="layui-form-item">
		<label class="layui-form-label">文章封面：</label>
		{:widget('upload/image',array('cover|封面|90x90|建议上传尺寸450x450|450x450',isset($info['cover_url']) ? $info['cover_url'] : ''))}
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章标题：</label>
		<div class="layui-input-block">
			<input name="title" value="{$info.title|default=''}" lay-verify="title" autocomplete="off" placeholder="请输入文章标题(最少10个字)" class="layui-input" type="text">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章摘要：</label>
		<div class="layui-input-block">
			<textarea name="guide" placeholder="请输入文章摘要" lay-verify="required" class="layui-textarea">{$info.guide|default=''}</textarea>
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章图集：</label>
		<div class="layui-input-block">
			{:widget('upload/album',array('imgs|图集|90x90|5|建议上传尺寸450x450|450x450',isset($info['imgsList']) ? $info['imgsList'] : []))}
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章内容：</label>
		<div class="layui-input-block">
			<textarea name="content" lay-verify="required" class="layui-textarea">{$info.content|default=''}</textarea>
			{:widget('editor/kindeditor',array('default','content','100%',500))}
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">文章状态：</label>
		<div class="layui-input-inline">
			{:widget('common/switchCheck',array('status', '立即发布|保存草稿', isset($info['status']) ? $info['status'] : 1))}
		</div>
	</div>
	{:widget('common/submit',array('submit|立即保存,close|关闭'))}
</form>
